<#include "../inc/header.ftl" />
<#import "/META-INF/spring.ftl" as spring />
<#import "/META-INF/mspring.ftl" as mspring />
<div style="padding:10px 0px 0px 10px">
	<form id="avatarForm" name="avatarForm" action="${base}/admin/self/avatar/upload" method="POST" enctype="multipart/form-data">
		<input type="file" name="avatar" />
		<input type="button" class="btn" value="上传图像"/>
	</form>
</div>
<link rel="stylesheet" type="text/css" href="${base}/script/jquery-jcrop/jquery.Jcrop.min.css">
<script type="text/javascript" src="${base}/script/jquery-jcrop/jquery.Jcrop.min.js"></script>
<script type="text/javascript" src="${base}/script/jquery.form.js"></script>
<script type="text/javascript">
	turnHighLight(405010);
	$(document).ready(function(){
		var jcrop_api;
    	$('#avatar').Jcrop({
    	},function(){
      		jcrop_api = this;
    	});
    	
    	$("#avatarForm").ajaxForm({
    		success: function(response){
    			
    		}
    	});
	});
</script>
<#include "../inc/footer.ftl" />